<?php
// +----------------------------------------------------------------------
// | 跃飞 [ 将来的你一定会感激现在奋斗的自己 ]
// +----------------------------------------------------------------------
// | Author: 钟贵廷
// +----------------------------------------------------------------------
// | Author URI: https://git.oschina.net/yeafy
// +----------------------------------------------------------------------
// | weChat:gt845272922  qq:845272922
// +----------------------------------------------------------------------

namespace app\yeafy\simpleFactory\demo1;

/**
 * 描述:技能设定
 * @author 钟贵廷
 * @WeChat gt845272922
 * @qq 845272922
 * Interface IProduct
 * @package yeafy\simpleFactory\demo1
 */
interface IProduct
{
    /**
     * 描述:攻击
     * @author 钟贵廷
     * @WeChat gt845272922
     * @qq 845272922
     * @return mixed
     */
    public function attack();

    /**
     * 描述:防御
     * @author 钟贵廷
     * @WeChat gt845272922
     * @qq 845272922
     * @return mixed
     */
    public function defense();
}